<%-- 
    Document   : head
    Created on : 2014-3-18, 20:15:17
    Author     : Vincent
--%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ page isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<script type="text/javascript" src="<%=basePath%>head/head.js"></script>
<link type="text/css" rel="stylesheet" href="<%=basePath%>head/head.css" />
<script src="<%=basePath%>plugins/jQueryUI/jquery-ui-1.10.3.custom.js"></script>
<link rel="stylesheet" href="<%=basePath%>plugins/jQueryUI/jquery-ui-1.10.3.custom.css" />
<jsp:include page="easyui.jsp"></jsp:include>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td width=200px><img src="<%=basePath%>Images/logo.png" /></td>
		<td>&nbsp;</td>
		<td width=200px;>
			<table cellpadding="0" cellspacing="0" border="0" width="100%" style="text-align: center;">
				<c:if test="${empty sessionScope.user }">
					<tr>
						<td><input class='head_input_button' type="button" value='登陆' /></td>
						<td><input class='head_input_button' type="button" value='注册' /></td>
					</tr>
				</c:if>
				<c:if test="${!empty sessionScope.user }">
					<tr>
						<td><c:if test="${sessionScope.user.gender=='1' }">
								<img src="Images/female.png" />
							</c:if> <c:if test="${sessionScope.user.gender=='0' }">
								<img src="Images/male.png" />
							</c:if> <span id="head_nickName">${sessionScope.user.nickName }</span></td>
						<td><span id='head_logout'>退出</span></td>
					</tr>
				</c:if>

			</table>
		</td>
	</tr>
</table>
<ul class="head_menu_ul">
	<li onclick="window.open('<%=basePath%>index.html', '_self')">首页</li>
	<li>排行榜</li>
	<li>淘帖</li>
	<li>签到</li>
</ul>
<div id="head_dialog"></div>